<!DOCTYPE html>  
<html>  
<head>  
  <title>远程关机</title>  
  <style>  
    body {  
      font-family: Arial, sans-serif;  
      margin: 0;  
      padding: 20px;  
    }  
      
    h1 {  
      text-align: center;  
      color: #333;  
    }  
      
    form {  
      max-width: 400px;  
      margin: 20px auto;  
      padding: 20px;  
      border: 1px solid #ccc;  
      border-radius: 5px;  
    }  
      
    label {  
      display: block;  
      margin-bottom: 10px;  
    }  
      
    input[type="text"], input[type="number"] {  
      width: 100%;  
      padding: 10px;  
      border: 1px solid #ccc;  
      border-radius: 5px;  
    }  
      
    input[type="submit"] {  
      width: 100%;  
      padding: 10px;  
      background-color: #4CAF50;  
      color: #fff;  
      border: none;  
      border-radius: 5px;  
      cursor: pointer;  
    }  
      
    input[type="submit"]:hover {  
      background-color: #45a049;  
    }  
  </style>  
</head>  
<body>  
  <h1>远程关机</h1>  
    
  <form action="/remote_mini_service/options/post_cmd_from" method="post">  
    <label for="code">代码:</label>  
    <input type="text" id="code" name="code" required><br><br>  
      
    <!-- <label for="ip">IP地址:</label>  
    <input type="text" id="ip" name="ip" value="8.130.75.98:81" required><br><br>   -->
      
    <!-- <label for="port">端口:</label>  
    <input type="number" id="port" name="port" min="1" max="65535" value="81" required><br><br>  
       -->
    <select id="cmd" name="cmd">
        <option value="0">ShutDown</option>
        <option value="1">Sleep</option>
        <option value="2">ConstantSleep</option>
        <option value="3">Restart</option>
        <option value="5">ShowMsg</option>
    </select>

    <input type="submit" value="提交">  
  </form>  
</body>  
</html>